Skip to content

Refactor TestMode to enum, update config and services#649

Merged
StuartFerguson merged 2 commits intomainfrom
task/#594_integrate_security_service
Jan 13, 2026
Merged

Refactor TestMode to enum, update config and services#649
StuartFerguson merged 2 commits intomainfrom
task/#594_integrate_security_service

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Refactored TestMode from boolean to enum for granular control of test behaviors. Updated appsettings.json and authentication client details. Adjusted Program.cs to use the new enum for service registration, authentication, and endpoint mapping. Updated RoleSwitcher.razor to use TestMode enum logic. Removed Counter.razor and its tests. Added TestMode enum definition.

closes #594

Refactored TestMode from boolean to enum for granular control of test behaviors. Updated appsettings.json and authentication client details. Adjusted Program.cs to use the new enum for service registration, authentication, and endpoint mapping. Updated RoleSwitcher.razor to use TestMode enum logic. Removed Counter.razor and its tests. Added TestMode enum definition.
@StuartFerguson StuartFerguson merged commit 8b3a003 into main Jan 13, 2026
10 checks passed
@github-actions github-actions Bot deleted the task/#594_integrate_security_service branch March 15, 2026 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Security Service

1 participant